package com.itheima.Thread;

public class p04_MyThread_test {
    public static void main(String[] args) throws InterruptedException {
        p04_MyThread t1 = new p04_MyThread();
        p04_MyThread t2 = new p04_MyThread();
//        t1.start();
//        t2.start();

       Thread t =Thread.currentThread();
       System.out.println(t.getName());
       System.out.println("aaaD");
       Thread.sleep(5000);
       System.out.println("bbbbc");

    }
}
